package com.hui.entity.dao;

import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;
import java.util.Date;

/**
 * 用户账单表(UserBill)表实体类
 *
 * @author hui
 * @since 2022-07-27 14:46:10
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
@TableName("user_bill")
public class UserBill {
    //用户账单id
    private Long id;
    //用户uid
    private Long uid;
    //关联id
    private String linkId;
    //0 = 支出 1 = 获得
    private Integer pm;
    //账单标题
    private String title;
    //明细种类
    private String category;
    //明细类型
    private String type;
    //明细数字
    private BigDecimal number;
    //剩余
    private BigDecimal balance;
    //备注
    private String mark;
    //添加时间
    private Date createTime;

    private Date updateTime;
    //0 = 带确定 1 = 有效 -1 = 无效
    private Integer status;

    private Integer isDel;

}

